package com.thinkgem.jeesite.modules.fantasy.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.fantasy.dao.TalkDao;
import com.thinkgem.jeesite.modules.fantasy.entity.Talk;
@Service
public class TalkService extends CrudService<TalkDao, Talk> {
	@Autowired
	public TalkDao talkDao;
	
	public List<Talk> getNormalTalks() {
		// TODO Auto-generated method stub
		return talkDao.getNormalTalks();
	}

	public Talk getTalkByTalkId(String talkId) {
		// TODO Auto-generated method stub
		return talkDao.getTalkByTalkId(talkId);
	}

	public List<Talk> getTalksByNpcId(String npcId) {
		// TODO Auto-generated method stub
		return talkDao.getTalksByNpcId(npcId);
	}

	public List<Talk> initTalks() {
		// TODO Auto-generated method stub
		return talkDao.initTalks();
	}

}
